package com.google.code.qsecurity.shared.proxy;

import java.util.Date;

import com.google.code.qsecurity.client.validation.Email;
import com.google.code.qsecurity.client.validation.VerificationCode;
import com.google.code.qsecurity.server.domain.EmailVerification;
import com.google.code.qsecurity.server.locator.EmailVerificationLocator;
import com.google.web.bindery.requestfactory.shared.ProxyFor;
import com.google.web.bindery.requestfactory.shared.ValueProxy;

@ProxyFor(value = EmailVerification.class, locator = EmailVerificationLocator.class)
public interface EmailVerificationProxy extends ValueProxy {

	@Email(message="{custom.email.message}")
	String getEmail();

	void setEmail(String email);

	@VerificationCode(message="{custom.code.message}")
	String getCode();

	void setCode(String code);

	Date getDate();

	void setDate(Date date);

	Integer getVersion();

	void setVersion(Integer version);

}
